package com.Java.train.business.service;

import com.Java.train.common.response.CommonResp;
import com.Java.train.business.entity.TrainStation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.Java.train.common.response.PageResp;
import com.Java.train.business.entity.DTO.TrainStationDTO;
import com.Java.train.business.req.TrainStationQueryReq;

/**
* @author luomoxingchen
* @since 2024-09-22
*/
public interface TrainStationService extends IService<TrainStation> {

    /**
    * TrainStation详情
    * @param
    * @return
    */
    PageResp<TrainStationDTO> queryList(TrainStationQueryReq trainStationQueryReq);

    /**
    * TrainStation保存和修改
    * @param trainStation 根据需要进行传值
    * @return
    */
    CommonResp<Object> modify(TrainStation trainStation);

    /**
    * TrainStation删除
    * @param ids
    * @return
    */
    CommonResp<Object> remove(String ids);
}


